package com.jiyun.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author usian
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("th_complaint")
@ApiModel(description="")
public class ThComplaint implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 投诉时间
     */
    @ApiModelProperty(value = "投诉时间")
    @TableField("complaint_time")
    private Date complaintTime;

    /**
     * 投诉发起对象
     */
    @ApiModelProperty(value = "投诉发起对象")
    @TableField("user_id")
    private Integer userId;

    /**
     * 投诉对象
     */
    @ApiModelProperty(value = "投诉对象")
    @TableField("complaint_id")
    private Integer complaintId;

    /**
     * 投诉事由
     */
    @ApiModelProperty(value = "投诉事由")
    @TableField("subject_matter")
    private String subjectMatter;

    /**
     * 1-处理完成 2-待处理
     */
    @ApiModelProperty(value = "1-处理完成 2-待处理")
    @TableField("complaint_results")
    private Integer complaintResults;

    /**
     * 1-有 2-没有
     */
    @ApiModelProperty(value = "1-有 2-没有")
    @TableField("appeal")
    private Integer appeal;

    /**
     * 1-正在申诉 2-申诉完成
     */
    @ApiModelProperty(value = "1-正在申诉 2-申诉完成")
    @TableField("appeal_progress")
    private Integer appealProgress;

    /**
     * 申诉结果
     */
    @ApiModelProperty(value = "申诉结果")
    @TableField("ssjg")
    private String ssjg;


}
